package com.guigu.pd.serviceapi.basefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "pd-base",path = "/base/fleet")
public interface FleetFeign {

    @RequestMapping("/getbyId/{id}")
    //@RequiresPermissions("base:fleet:info")
    public String getfleetbyId(@PathVariable("id") String id);

    @GetMapping("/getfleetnamebyId/{id}")
    public String getfleetnamebyId(@PathVariable("id") String id);
}
